<%--
  Created by IntelliJ IDEA.
  User: limin
  Date: 2021/8/8
  Time: 18:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">

    <title></title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">

    <link rel="stylesheet" type="text/css" href="css/edittable.css"  >
    <link rel="stylesheet" type="text/css" href="css/validate.css"  >
    <script type="text/javascript"  src="js/jquery-1.8.0.js"></script>
    <script>
        $(function(){
            $("input[type=text],textarea").focus(function(){
                $(this).addClass("input_focus");
            }).blur(function(){
                $(this).removeClass("input_focus");
            });

            $(".form_btn").hover(function(){
                    $(this).css("color","red").css("background","#6FB2DB");
                },

                function(){
                    $(this).css("color","#295568").css("background","#BAD9E3");
                });
        });
    </script>
</head>

<body>
<div class ="div_title">
    <div class="div_titlename"> <img src="images/san_jiao.gif" ><span>商品管理 添加一级分类</span></div>
</div>
<form action="CateServlet.do?flag=bigCateAdd" method="post">
    <table class="edit_table">
        <tr>
            <td class="td_info">分类名称：</td>
            <td>
                <input type="text" class="txtbox" name="cateName">
                <input type="hidden" name="parentId" value="0">
            </td>
            <td>
                <label class="validate_info">长度2-20位非空白字符</label>
            </td>
        </tr>
        <tr>
            <td class="td_info">分类描述：</td>
            <td colspan="2"><textarea rows="4" cols="27" name="des" class="txtarea"></textarea></td>
        </tr>
        <tr>
            <td class="td_info"></td>
            <td>
                <input type="submit" class="form_btn" value="提交">
                <input type="reset" class="form_btn" value="重置">
            </td>
        </tr>
    </table>
</form>
${msg}
</body>
</html>
